﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001277 RID: 4727
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SummonPunkLordMonsterScRsp : IMessage<SummonPunkLordMonsterScRsp>, IMessage, IEquatable<SummonPunkLordMonsterScRsp>, IDeepCloneable<SummonPunkLordMonsterScRsp>, IBufferMessage
	{
		// Token: 0x17003BEF RID: 15343
		// (get) Token: 0x0600D40C RID: 54284 RVA: 0x0023AEDD File Offset: 0x002390DD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SummonPunkLordMonsterScRsp> Parser
		{
			get
			{
				return SummonPunkLordMonsterScRsp._parser;
			}
		}

		// Token: 0x17003BF0 RID: 15344
		// (get) Token: 0x0600D40D RID: 54285 RVA: 0x0023AEE4 File Offset: 0x002390E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SummonPunkLordMonsterScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003BF1 RID: 15345
		// (get) Token: 0x0600D40E RID: 54286 RVA: 0x0023AEF6 File Offset: 0x002390F6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SummonPunkLordMonsterScRsp.Descriptor;
			}
		}

		// Token: 0x0600D40F RID: 54287 RVA: 0x0023AEFD File Offset: 0x002390FD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SummonPunkLordMonsterScRsp()
		{
		}

		// Token: 0x0600D410 RID: 54288 RVA: 0x0023AF08 File Offset: 0x00239108
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SummonPunkLordMonsterScRsp(SummonPunkLordMonsterScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.cNPIENKHDFM_ = ((other.cNPIENKHDFM_ != null) ? other.cNPIENKHDFM_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600D411 RID: 54289 RVA: 0x0023AF54 File Offset: 0x00239154
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SummonPunkLordMonsterScRsp Clone()
		{
			return new SummonPunkLordMonsterScRsp(this);
		}

		// Token: 0x17003BF2 RID: 15346
		// (get) Token: 0x0600D412 RID: 54290 RVA: 0x0023AF5C File Offset: 0x0023915C
		// (set) Token: 0x0600D413 RID: 54291 RVA: 0x0023AF64 File Offset: 0x00239164
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17003BF3 RID: 15347
		// (get) Token: 0x0600D414 RID: 54292 RVA: 0x0023AF6D File Offset: 0x0023916D
		// (set) Token: 0x0600D415 RID: 54293 RVA: 0x0023AF75 File Offset: 0x00239175
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DIEEHLNJLON CNPIENKHDFM
		{
			get
			{
				return this.cNPIENKHDFM_;
			}
			set
			{
				this.cNPIENKHDFM_ = value;
			}
		}

		// Token: 0x0600D416 RID: 54294 RVA: 0x0023AF7E File Offset: 0x0023917E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SummonPunkLordMonsterScRsp);
		}

		// Token: 0x0600D417 RID: 54295 RVA: 0x0023AF8C File Offset: 0x0023918C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SummonPunkLordMonsterScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this.CNPIENKHDFM, other.CNPIENKHDFM) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600D418 RID: 54296 RVA: 0x0023AFDC File Offset: 0x002391DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.cNPIENKHDFM_ != null)
			{
				num ^= this.CNPIENKHDFM.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600D419 RID: 54297 RVA: 0x0023B031 File Offset: 0x00239231
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600D41A RID: 54298 RVA: 0x0023B039 File Offset: 0x00239239
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600D41B RID: 54299 RVA: 0x0023B044 File Offset: 0x00239244
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(48);
				output.WriteUInt32(this.Retcode);
			}
			if (this.cNPIENKHDFM_ != null)
			{
				output.WriteRawTag(74);
				output.WriteMessage(this.CNPIENKHDFM);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600D41C RID: 54300 RVA: 0x0023B0A0 File Offset: 0x002392A0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.cNPIENKHDFM_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.CNPIENKHDFM);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600D41D RID: 54301 RVA: 0x0023B0F8 File Offset: 0x002392F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SummonPunkLordMonsterScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.cNPIENKHDFM_ != null)
			{
				if (this.cNPIENKHDFM_ == null)
				{
					this.CNPIENKHDFM = new DIEEHLNJLON();
				}
				this.CNPIENKHDFM.MergeFrom(other.CNPIENKHDFM);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600D41E RID: 54302 RVA: 0x0023B160 File Offset: 0x00239360
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600D41F RID: 54303 RVA: 0x0023B16C File Offset: 0x0023936C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 48U)
				{
					if (num != 74U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						if (this.cNPIENKHDFM_ == null)
						{
							this.CNPIENKHDFM = new DIEEHLNJLON();
						}
						input.ReadMessage(this.CNPIENKHDFM);
					}
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040054E2 RID: 21730
		private static readonly MessageParser<SummonPunkLordMonsterScRsp> _parser = new MessageParser<SummonPunkLordMonsterScRsp>(() => new SummonPunkLordMonsterScRsp());

		// Token: 0x040054E3 RID: 21731
		private UnknownFieldSet _unknownFields;

		// Token: 0x040054E4 RID: 21732
		public const int RetcodeFieldNumber = 6;

		// Token: 0x040054E5 RID: 21733
		private uint retcode_;

		// Token: 0x040054E6 RID: 21734
		public const int CNPIENKHDFMFieldNumber = 9;

		// Token: 0x040054E7 RID: 21735
		private DIEEHLNJLON cNPIENKHDFM_;
	}
}
